package com.qf.student.dao;

import com.qf.student.entity.Dept;

import java.util.List;

/**
 * @version1.0
 * @auth dmh
 */
public interface IDeptDao {
    public int insert(Dept dept); //

    public int updateById(Dept dept); // 根据主键更新

    public Dept selectById(Integer deptno); // 根据主键查询

    public int deleteById(Integer deptno);

    public List<Dept> selectList();

    public Dept selectByName(String dname);
}
